﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.DynamicProxy;

namespace AppWorks.Domain
{
    /// <summary>
    /// 抽象聚合根
    /// </summary>
    public abstract class AggregateRoot<TDAO>
        where TDAO : IRepository
    {
        protected TDAO Repository
        {
            get
            {
                return default(TDAO);
                //return Environment.Get<TDAO>();
            }
        }
    }
}
